var limsPersonAbility = Gikam.getPageObject({

    getEditListColumns: function () {
        return [{
            checkbox: true
        }, {index: true}, {
            field: 'predictiveCapacityTime',
            title: 'T_LIMS_PERSON_ABILITY.PREDICTIVECAPACITYTIME',
            type: 'date',
            width: 160,
            editor: true
        }, {
            field: 'practicalAbilityTime',
            title: 'T_LIMS_PERSON_ABILITY.PRACTICALABILITYTIME',
            type: 'date',
            width: 160,
            editor: true
        }, {
            field: 'remark',
            title: 'T_LIMS_PERSON_ABILITY.REMARK',
            validators: ['strLength[0,100]'],
            width: 160,
            editor: true
        },]
    },

    getBaseInfoFormFields: function () {
        return [{
            field: 'predictiveCapacityTime',
            title: 'T_LIMS_PERSON_ABILITY.PREDICTIVECAPACITYTIME',
            type: 'date',
        }, {
            field: 'practicalAbility',
            title: 'T_LIMS_PERSON_ABILITY.PRACTICALABILITY',
            type: 'date',
        }, {
            field: 'remark',
            title: 'T_LIMS_PERSON_ABILITY.REMARK',
            validators: ['strLength[0,100]'],
        },]
    },

    getChooseListColumns: function () {
        return [{index: true},{
            field: 'remark',
            title: 'T_LIMS_PERSON_ABILITY.REMARK'
        },]
    },

    baseUrl: IFM_CONTEXT + '/secure/basemodule/rm/person-abilitys'
})
